package com.jz.netthings.application.providerReg.bean;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.PathVariable;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyl
 * @since 2019-02-28
 */
public class ProviderReg implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 登记号
     */
    @TableField("registerNo")
    private String registerNo;
    /**
     * 登记序号
     */
    @TableField("registerIdx")
    private Integer registerIdx;
    /**
     * 身份证
     */
    @TableField("idNo")
    private String idNo;
    /**
     * 浆员标识
     */
    @TableField("providerNo")
    private String providerNo;
    @TableField(exist = false)
    private String providerNoName;
    @TableField(exist = false)
    private String cardId;
    /**
     * 登记时间
     */
    @TableField("regTime")
    private Date regTime;
    /**
     * 登记时间戳
     */
    @TableField("regTimeId")
    private Integer regTimeId;
    /**
     * 照片认证
     */
    @TableField("photoCertification")
    private Boolean photoCertification;
    /**
     * 指纹认证
     */
    @TableField("fpCertification")
    private Boolean fpCertification;
    /**
     * 采集认证
     */
    @TableField("cjCertification")
    private Boolean cjCertification;
    /**
     * 体检呼叫
     */
    @TableField("bodyCheckCall")
    private Date bodyCheckCall;
    /**
     * 体检时间
     */
    @TableField("bodyCheckTime")
    private Date bodyCheckTime;
    /**
     * 体检通过
     */
    @TableField("isBodyCheckPass")
    private Boolean isBodyCheckPass;
    /**
     * 需要化检
     */
    @TableField("isNeedAssay")
    private Boolean isNeedAssay;
    @TableField("assayCall")
    private Date assayCall;
    /**
     * 化检时间
     */
    @TableField("assayTime")
    private Date assayTime;
    /**
     * 化检通过
     */
    @TableField("isAssayPass")
    private Boolean isAssayPass;
    /**
     * 需要做血清电泳
     */
    @TableField("isNeedXqdy")
    private Boolean isNeedXqdy;
    /**
     * 血清电泳标识
     */
    @TableField("xqdyId")
    private String xqdyId;
    /**
     * 开始采集时间
     */
    @TableField("collectionStartTime")
    private Date collectionStartTime;
    /**
     * 采集完成时间
     */
    @TableField("collectionEndTime")
    private Date collectionEndTime;
    /**
     * 分配机器号
     */
    @TableField("machineCode")
    private String machineCode;
    @TableField(exist = false)
    private String machineCodeName;
    /**
     * 创建时间
     */
    @TableField("createTime")
    private Date createTime;
    /**
     * 阈值
     */
    @TableField("thresholdValue")
    private Float thresholdValue;
    /**
     * 管理护士id
     */
    @TableField("managerNurseId")
    private String managerNurseId;
    /**
     * 管理护士名字
     */
    @TableField("managerNurseName")
    private String managerNurseName;
    /**
     * 五部链接护士标识
     */
    @TableField("fiveStepNurseId")
    private String fiveStepNurseId;
    /**
     * 五步链接护士名字
     */
    @TableField("fiveStepNursename")
    private String fiveStepNursename;
    /**
     * 登记护士
     */
    @TableField("regNurse")
    private String regNurse;
    @TableField(exist = false)
    private String regNurseName;
    /**
     * 指纹审核
     */
    private String zwsh;
    /**
     * 采集审核
     */
    private String cjsh;
    /**
     * 认证方式
     */
    private String rzfs;
    @TableField(exist = false)
    private String rzfsName;
    /**
     * 登记照片
     */
    @TableField("regPhoto")
    private  String regPhoto;

    /**
     * 建档照片
     */
    @TableField(exist = false)
    private  String createPhoto;
    @TableField(exist = false)
    private  String age;
    @TableField(exist = false)
    private  String sex;
    /**
     * 是否固定浆员
     */
    @TableField("ifGdjy")
    private  Boolean ifGdjy;
    @TableField("isYq")
    private  Boolean isYq;
    @TableField("sampleNo")
    private  String sampleNo;
    @TableField("modifyTime")
    private  Date modifyTime;
    @TableField("synDate")
    private  Date  synDate;

    public String getSampleNo() {
        return sampleNo;
    }

    public void setSampleNo(String sampleNo) {
        this.sampleNo = sampleNo;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Date getSynDate() {
        return synDate;
    }

    public void setSynDate(Date synDate) {
        this.synDate = synDate;
    }

    public Boolean getYq() {
        return isYq;
    }

    public void setYq(Boolean yq) {
        isYq = yq;
    }

    public Boolean getIfGdjy() {
        return ifGdjy;
    }

    public void setIfGdjy(Boolean ifGdjy) {
        this.ifGdjy = ifGdjy;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getRzfsName() {
        return rzfsName;
    }

    public void setRzfsName(String rzfsName) {
        this.rzfsName = rzfsName;
    }

    public String getMachineCodeName() {
        return machineCodeName;
    }

    public void setMachineCodeName(String machineCodeName) {
        this.machineCodeName = machineCodeName;
    }

    public String getRegNurseName() {
        return regNurseName;
    }

    public void setRegNurseName(String regNurseName) {
        this.regNurseName = regNurseName;
    }

    public String getCreatePhoto() {
        return createPhoto;
    }

    public void setCreatePhoto(String createPhoto) {
        this.createPhoto = createPhoto;
    }

    public String getRegPhoto() {
        return regPhoto;
    }

    public void setRegPhoto(String regPhoto) {
        this.regPhoto = regPhoto;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRegisterNo() {
        return registerNo;
    }

    public void setRegisterNo(String registerNo) {
        this.registerNo = registerNo;
    }

    public Integer getRegisterIdx() {
        return registerIdx;
    }

    public void setRegisterIdx(Integer registerIdx) {
        this.registerIdx = registerIdx;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getProviderNo() {
        return providerNo;
    }

    public void setProviderNo(String providerNo) {
        this.providerNo = providerNo;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getRegTime() {
        return regTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    public Integer getRegTimeId() {
        return regTimeId;
    }

    public void setRegTimeId(Integer regTimeId) {
        this.regTimeId = regTimeId;
    }

    public Boolean getPhotoCertification() {
        return photoCertification;
    }

    public void setPhotoCertification(Boolean photoCertification) {
        this.photoCertification = photoCertification;
    }

    public Boolean getFpCertification() {
        return fpCertification;
    }

    public void setFpCertification(Boolean fpCertification) {
        this.fpCertification = fpCertification;
    }

    public Boolean getCjCertification() {
        return cjCertification;
    }

    public void setCjCertification(Boolean cjCertification) {
        this.cjCertification = cjCertification;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getBodyCheckCall() {
        return bodyCheckCall;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setBodyCheckCall(Date bodyCheckCall) {
        this.bodyCheckCall = bodyCheckCall;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getBodyCheckTime() {
        return bodyCheckTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setBodyCheckTime(Date bodyCheckTime) {
        this.bodyCheckTime = bodyCheckTime;
    }

    public Boolean getBodyCheckPass() {
        return isBodyCheckPass;
    }

    public void setBodyCheckPass(Boolean isBodyCheckPass) {
        this.isBodyCheckPass = isBodyCheckPass;
    }

    public Boolean getNeedAssay() {
        return isNeedAssay;
    }

    public void setNeedAssay(Boolean isNeedAssay) {
        this.isNeedAssay = isNeedAssay;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getAssayCall() {
        return assayCall;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setAssayCall(Date assayCall) {
        this.assayCall = assayCall;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getAssayTime() {
        return assayTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setAssayTime(Date assayTime) {
        this.assayTime = assayTime;
    }

    public Boolean getAssayPass() {
        return isAssayPass;
    }

    public void setAssayPass(Boolean isAssayPass) {
        this.isAssayPass = isAssayPass;
    }

    public Boolean getNeedXqdy() {
        return isNeedXqdy;
    }

    public void setNeedXqdy(Boolean isNeedXqdy) {
        this.isNeedXqdy = isNeedXqdy;
    }

    public String getXqdyId() {
        return xqdyId;
    }

    public void setXqdyId(String xqdyId) {
        this.xqdyId = xqdyId;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCollectionStartTime() {
        return collectionStartTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCollectionStartTime(Date collectionStartTime) {
        this.collectionStartTime = collectionStartTime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCollectionEndTime() {
        return collectionEndTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCollectionEndTime(Date collectionEndTime) {
        this.collectionEndTime = collectionEndTime;
    }

    public String getMachineCode() {
        return machineCode;
    }

    public void setMachineCode(String machineCode) {
        this.machineCode = machineCode;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreateTime() {
        return createTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Float getThresholdValue() {
        return thresholdValue;
    }

    public void setThresholdValue(Float thresholdValue) {
        this.thresholdValue = thresholdValue;
    }

    public String getManagerNurseId() {
        return managerNurseId;
    }

    public void setManagerNurseId(String managerNurseId) {
        this.managerNurseId = managerNurseId;
    }

    public String getManagerNurseName() {
        return managerNurseName;
    }

    public void setManagerNurseName(String managerNurseName) {
        this.managerNurseName = managerNurseName;
    }

    public String getFiveStepNurseId() {
        return fiveStepNurseId;
    }

    public void setFiveStepNurseId(String fiveStepNurseId) {
        this.fiveStepNurseId = fiveStepNurseId;
    }

    public String getFiveStepNursename() {
        return fiveStepNursename;
    }

    public void setFiveStepNursename(String fiveStepNursename) {
        this.fiveStepNursename = fiveStepNursename;
    }

    public String getZwsh() {
        return zwsh;
    }

    public void setZwsh(String zwsh) {
        this.zwsh = zwsh;
    }

    public String getCjsh() {
        return cjsh;
    }

    public void setCjsh(String cjsh) {
        this.cjsh = cjsh;
    }

    public String getRzfs() {
        return rzfs;
    }

    public void setRzfs(String rzfs) {
        this.rzfs = rzfs;
    }

    public String getProviderNoName() {
        return providerNoName;
    }

    public void setProviderNoName(String providerNoName) {
        this.providerNoName = providerNoName;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getRegNurse() {
        return regNurse;
    }

    public void setRegNurse(String regNurse) {
        this.regNurse = regNurse;
    }

    @Override
    public String toString() {
        return "ProviderReg{" +
                "id=" + id +
                ", registerNo='" + registerNo + '\'' +
                ", registerIdx=" + registerIdx +
                ", idNo='" + idNo + '\'' +
                ", providerNo='" + providerNo + '\'' +
                ", providerNoName='" + providerNoName + '\'' +
                ", cardId='" + cardId + '\'' +
                ", regTime=" + regTime +
                ", regTimeId=" + regTimeId +
                ", photoCertification=" + photoCertification +
                ", fpCertification=" + fpCertification +
                ", cjCertification=" + cjCertification +
                ", bodyCheckCall=" + bodyCheckCall +
                ", bodyCheckTime=" + bodyCheckTime +
                ", isBodyCheckPass=" + isBodyCheckPass +
                ", isNeedAssay=" + isNeedAssay +
                ", assayCall=" + assayCall +
                ", assayTime=" + assayTime +
                ", isAssayPass=" + isAssayPass +
                ", isNeedXqdy=" + isNeedXqdy +
                ", xqdyId='" + xqdyId + '\'' +
                ", collectionStartTime=" + collectionStartTime +
                ", collectionEndTime=" + collectionEndTime +
                ", machineCode='" + machineCode + '\'' +
                ", createTime=" + createTime +
                ", thresholdValue=" + thresholdValue +
                ", managerNurseId='" + managerNurseId + '\'' +
                ", managerNurseName='" + managerNurseName + '\'' +
                ", fiveStepNurseId='" + fiveStepNurseId + '\'' +
                ", fiveStepNursename='" + fiveStepNursename + '\'' +
                ", regNurse='" + regNurse + '\'' +
                ", zwsh='" + zwsh + '\'' +
                ", cjsh='" + cjsh + '\'' +
                ", rzfs='" + rzfs + '\'' +
                '}';
    }
}
